package com.lzh.main.service;

import com.lzh.main.pojo.dto.Result;

public interface UserAccountService {
    Result register(String username, String password, String confirmPassword, String email);

    Result login(String account, String password);

    Result getUserInfo();

    Result updateUserPhoto(Integer userId, String url);

    Result updateUsername(Integer userId, String newUsername);
}